package com.zhuoyue.biz.core.command.impl.lock;

import com.alibaba.fastjson.JSONObject;
import com.zhuoyue.biz.core.command.model.BaseParams;

import java.util.Map;

/**
 * 六孚指纹锁控制类
 *
 * @author Administrator
 */
public class FingerprintLock0Fbe0202 {
    private static final String CMD_MODEL = "0701${gatewayMac}${deviceMac}04A1600102";

    public static String getCommand(String controlParam) {
        Map<String, String> map = (Map) JSONObject.parse(controlParam);
        return new BaseParams(map.get("gatewayMac"), map.get("deviceMac")).getCmd(CMD_MODEL);
    }
}
